package com.tensquare.article.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.bytebuddy.asm.Advice;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 专栏对象 tb_column
 * 
 * @author hbxfwf
 * @date 2021-08-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Column extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 专栏名称 */
    @Excel(name = "专栏名称")
    private String name;

    /** 专栏简介 */
    @Excel(name = "专栏简介")
    private String summary;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userid;

    /** 审核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checktime;

    /** 状态 */
    @Excel(name = "状态")
    private String state;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

}
